#ifndef __QUADPOD_DATA_H__
#define __QUADPOD_DATA_H__

#ifdef _PROGMEM_DATA
//<<<
const run_t run[] __attribute__ ((section(".progmem"))) = {
	{{
/*----------+-----------------+----------------+----------------+---------------+
 *          |      Servo 0    |     Servo 1    |     Servo 2    |     Servo 3   |
 *  Draha   |   Sh | El | An  |  Sh | El | An  |  Sh | El | An  |  Sh | El | An |
 *----------+------+----+-----+-----+----+-----+-----+----+-----+-----+----+----+*/           
// ARM MOVEMENT 1-3-2-4 - STRAIGHT (14.7456MHz)
/*   1 */	{{{1098,2194,2268},{3356,2195,2109},{1997,2195,2109},{4255,2194,2268}}},  
/*   2 */	{{{1513,1921,1940},{3516,2198,2091},{2149,1828,1930},{4130,2191,2197}}},  
/*   3 */	{{{1997,1921,1940},{3679,2198,2091},{2288,1838,1989},{3991,2192,2144}}},  
/*   4 */	{{{2412,2194,2268},{3840,2195,2109},{2412,2194,2268},{3840,2195,2109}}},  
/*   5 */	{{{2288,1838,1989},{3991,2192,2144},{1997,1921,1940},{3679,2198,2091}}},  
/*   6 */	{{{2149,1828,1930},{4130,2191,2197},{1513,1921,1940},{3516,2198,2091}}},  
/*   7 */	{{{1997,2195,2109},{4255,2194,2268},{1098,2194,2268},{3356,2195,2109}}},  
/*   8 */	{{{1837,2198,2091},{3840,1921,1940},{1223,2191,2197},{3204,1828,1930}}},  
/*   9 */	{{{1673,2198,2091},{3356,1921,1940},{1362,2192,2144},{3065,1838,1989}}},  
/*  10 */	{{{1513,2195,2109},{2940,2194,2268},{1513,2195,2109},{2940,2194,2268}}},  
/*  11 */	{{{1362,2192,2144},{3065,1838,1989},{1673,2198,2091},{3356,1921,1940}}},  
/*  12 */	{{{1223,2191,2197},{3204,1828,1930},{1837,2198,2091},{3840,1921,1940}}},  
	}},{{
// ARM MOVEMENT 1-3-2-4 - 45 DEG RIGHT
/*   1 */	{{{1144,1856,2173},{2806,1784,1826},{1592,1815,1606},{3570,1875,1518}}},
/*   2 */	{{{1306,1576,1697},{2883,1784,1738},{1730,1500,1358},{3391,1861,1533}}},
/*   3 */	{{{1592,1575,1456},{2977,1795,1665},{1891,1516,1321},{3230,1839,1562}}},
/*   4 */	{{{2071,1875,1518},{3092,1815,1606},{2071,1875,1518},{3092,1815,1606}}},
/*   5 */	{{{1891,1516,1321},{3230,1839,1562},{1592,1575,1456},{2977,1795,1665}}},
/*   6 */	{{{1730,1500,1358},{3391,1861,1533},{1306,1576,1697},{2883,1784,1738}}},
/*   7 */	{{{1592,1815,1606},{3570,1875,1518},{1144,1856,2173},{2806,1784,1826}}},
/*   8 */	{{{1478,1795,1665},{3092,1575,1456},{1189,1819,2043},{2741,1532,1769}}},
/*   9 */	{{{1384,1784,1738},{2806,1576,1697},{1242,1796,1927},{2688,1571,1890}}},
/*  10 */	{{{1306,1784,1826},{2643,1856,2173},{1306,1784,1826},{2643,1856,2173}}},
/*  11 */	{{{1242,1796,1927},{2688,1571,1890},{1384,1784,1738},{2806,1576,1697}}},
/*  12 */	{{{1189,1819,2043},{2741,1532,1769},{1478,1795,1665},{3092,1575,1456}}},
	}},{{
// ARM MOVEMENT 1-3-2-4 - 90 DEG RIGHT
/*   1 */	{{{1428,1903,2312},{2928,1788,1871},{1428,1840,1561},{2928,2144,1410}}},
/*   2 */	{{{1428,1585,1745},{2928,1783,1753},{1428,1555,1266},{2928,2010,1438}}},
/*   3 */	{{{1428,1593,1404},{2928,1799,1649},{1428,1660,1198},{2928,1909,1489}}},
/*   4 */	{{{1428,2144,1410},{2928,1840,1561},{1428,2144,1410},{2928,1840,1561}}},
/*   5 */	{{{1428,1660,1198},{2928,1909,1489},{1428,1593,1404},{2928,1799,1649}}},
/*   6 */	{{{1428,1555,1266},{2928,2010,1438},{1428,1585,1745},{2928,1783,1753}}},
/*   7 */	{{{1428,1840,1561},{2928,2144,1410},{1428,1903,2312},{2928,1788,1871}}},
/*   8 */	{{{1428,1799,1649},{2928,1593,1404},{1428,1848,2148},{2928,1557,1848}}},
/*   9 */	{{{1428,1783,1753},{2928,1585,1745},{1428,1810,2002},{2928,1610,1998}}},
/*  10 */	{{{1428,1788,1871},{2928,1903,2312},{1428,1788,1871},{2928,1903,2312}}},
/*  11 */	{{{1428,1810,2002},{2928,1610,1998},{1428,1783,1753},{2928,1585,1745}}},
/*  12 */	{{{1428,1848,2148},{2928,1557,1848},{1428,1799,1649},{2928,1593,1404}}},
	}}
};
//>>>
#else // _EEPROM_DATA
//<<<
//const run_t run[] __attribute__ ((section(".eeprom"))) = {{{
//}}};
#endif // _PROGMEM_DATA
//>>>
/* TABULATED MOVEMENT DATA
 * -----------------------
 * This implementation does not utilize the real time conversion of the x-y-z
 * data into the alpha-beta-gamma angles. It uses tabulated entries instead.
 * The calculation is done inside a help data - quadpod.m. Resulting
 * values are copied over into this static structures.
 */


#endif // __QUADPOD_DATA_H__
